<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="./vue.js"></script>
    <style>
        .box{
            width:200px;
            height: 200px;
            background: rgb(228, 143, 143);
        }
    </style>
</head>
<body>
    <div id="app">
        <input type="text" v-model="msg">
        {{ msg }}
        <hr>
        <input type="checkbox" v-model="isShow">
        {{ isShow }}
        <div class="box" v-if="isShow"></div>
        <hr>
        <input type="checkbox" value="篮球" v-model="arr">
        <input type="checkbox" value="足球" v-model="arr">
        <input type="checkbox" value="皮球" v-model="arr">
        {{ arr }}
    </div>
    <script>
        let vm = new Vue({
            el:"#app",
            data:{
                msg:"hello vue",
                isShow:true,
                arr:[]
            }
        })
        
    </script>
</body>
</html>